import Vue from 'vue';
import Tree from './tree/tree.vue';
import Time from './time/time.vue';
import Banner from './banner/banner.vue';
import Editor from './editor/editor.vue';
import Pencil from './pencil/pencil.vue';
import Palette from './palette/palette.vue';
import Chart from './chart/chart.vue';
import Player from './player/player.vue';
import AudioPlayer from './audioPlayer/audioPlayer.vue';
import WaterMark from './waterMark/waterMark.vue';

const componentList = [
  Tree,
  Time,
  Banner,
  Editor,
  Pencil,
  Palette,
  Chart,
  Player,
  WaterMark,
  AudioPlayer
]

componentList.forEach(item => {
  Vue.component(`Comp${item.name}`, item)
});
